package com.alks.function.mapper.biocontrol.deptwork;

import com.alks.entity.data.entity.PcFinishOemOutDetail;
import com.alks.function.data.dto.biocontrol.webwork.ProdOutTempDto;
import com.alks.function.data.request.biocontrol.webwork.ProdOutRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2024-08-09
 */
public interface PcFinishOemOutDetailMapper extends BaseMapper<PcFinishOemOutDetail> {
    /**
     * 出货明细查询
     */
    List<ProdOutTempDto> outTempQuery(@Param("request") ProdOutRequest request, @Param("companyId") String companyId);

    /**
     * 工厂回显
     */
    List<Map<String, String>> vendorBack(@Param("vendorSearch") String vendorSearch, @Param("companyId") String companyId);

    /**
     * 品牌回显
     */
    List<String> brandBack(@Param("brandSearch") String brandSearch, @Param("companyId") String companyId);

    /**
     * 出货明细求和
     */
    Map<String, Object> outTotalQuery(@Param("request") ProdOutRequest request, @Param("companyId") String companyId);
}
